import axios from '../utils/request';

// 获取文章列表
const getViewList = function (data) {
    return axios.get('/api/get/view',{params:data})
}
// 删除
const delView = function (data) {
    return axios.post('/api/del/view',data)
}
// 删除
const delViews = function (data) {
    return axios.post('/api/del/views',data)
}

export default {
    getViewList,
    delView,
    delViews
}